<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Homepage</title>
</head>
<body>
	<%@include file="common/header.jsp" %>
	<%@include file="common/sidebar_category.jsp" %>
  
         
	<c:forEach begin="1" end="9" items="${products}" var="product">
		<div>	
			<h3><c:out value="${product.name}"/></h3>          
            <img src="<c:url value="/images/${product.img1}"/>" />
            <p><c:out value="${product.fulldescription}"/></p>
            <a href="user/product-detail">View</a>
			<p><c:out value="${product.price}"/></p>
		</div> 
	</c:forEach>
		
	<%@include file="common/footer.jsp" %>
</body>
</html>